net.netFD.pfd (field)
69 uses
net (current package)
fd_posix.go#L18: pfd poll.FD
fd_posix.go#L37: return fd.pfd.Close()
fd_posix.go#L41: err := fd.pfd.Shutdown(how)
fd_posix.go#L55: n, err = fd.pfd.Read(p)
fd_posix.go#L61: n, sa, err = fd.pfd.ReadFrom(p)
fd_posix.go#L66: n, err = fd.pfd.ReadFromInet4(p, from)
fd_posix.go#L72: n, err = fd.pfd.ReadFromInet6(p, from)
fd_posix.go#L78: n, oobn, retflags, sa, err = fd.pfd.ReadMsg(p, oob, flags)
fd_posix.go#L84: n, oobn, retflags, err = fd.pfd.ReadMsgInet4(p, oob, flags, sa)
fd_posix.go#L90: n, oobn, retflags, err = fd.pfd.ReadMsgInet6(p, oob, flags, sa)
fd_posix.go#L96: nn, err = fd.pfd.Write(p)
fd_posix.go#L102: n, err = fd.pfd.WriteTo(p, sa)
fd_posix.go#L108: n, err = fd.pfd.WriteToInet4(p, sa)
fd_posix.go#L114: n, err = fd.pfd.WriteToInet6(p, sa)
fd_posix.go#L120: n, oobn, err = fd.pfd.WriteMsg(p, oob, sa)
fd_posix.go#L126: n, oobn, err = fd.pfd.WriteMsgInet4(p, oob, sa)
fd_posix.go#L132: n, oobn, err = fd.pfd.WriteMsgInet6(p, oob, sa)
fd_posix.go#L138: return fd.pfd.SetDeadline(t)
fd_posix.go#L142: return fd.pfd.SetReadDeadline(t)
fd_posix.go#L146: return fd.pfd.SetWriteDeadline(t)
fd_unix.go#L28: pfd: poll.FD{
fd_unix.go#L41: return fd.pfd.Init(fd.net, true)
fd_unix.go#L59: switch err := connectFunc(fd.pfd.Sysfd, ra); err {
fd_unix.go#L67: if err := fd.pfd.Init(fd.net, true); err != nil {
fd_unix.go#L85: if err := fd.pfd.Init(fd.net, true); err != nil {
fd_unix.go#L89: fd.pfd.SetWriteDeadline(deadline)
fd_unix.go#L90: defer fd.pfd.SetWriteDeadline(noDeadline)
fd_unix.go#L123: fd.pfd.SetWriteDeadline(aLongTimeAgo)
fd_unix.go#L141: if err := fd.pfd.WaitWrite(); err != nil {
fd_unix.go#L149: nerr, err := getsockoptIntFunc(fd.pfd.Sysfd, syscall.SOL_SOCKET, syscall.SO_ERROR)
fd_unix.go#L161: if rsa, err := syscall.Getpeername(fd.pfd.Sysfd); err == nil {
fd_unix.go#L172: d, rsa, errcall, err := fd.pfd.Accept()
fd_unix.go#L188: lsa, _ := syscall.Getsockname(netfd.pfd.Sysfd)
fd_unix.go#L197: ns, call, err := fd.pfd.Dup()
mptcpsock_linux.go#L98: _, err := fd.pfd.GetsockoptInt(_SOL_MPTCP, _MPTCP_INFO)
mptcpsock_linux.go#L112: proto, _ := fd.pfd.GetsockoptInt(syscall.SOL_SOCKET, syscall.SO_PROTOCOL)
rawconn.go#L32: err := c.fd.pfd.RawControl(f)
rawconn.go#L44: err := c.fd.pfd.RawRead(f)
rawconn.go#L56: err := c.fd.pfd.RawWrite(f)
rawconn.go#L75: return &c.fd.pfd
sendfile_linux.go#L42: written, werr, handled = poll.SendFile(&c.pfd, int(fd), remain)
sock_posix.go#L140: if err = syscall.Bind(fd.pfd.Sysfd, lsa); err != nil {
sock_posix.go#L166: lsa, _ = syscall.Getsockname(fd.pfd.Sysfd)
sock_posix.go#L169: } else if rsa, _ = syscall.Getpeername(fd.pfd.Sysfd); rsa != nil {
sock_posix.go#L179: if err = setDefaultListenerSockopts(fd.pfd.Sysfd); err != nil {
sock_posix.go#L197: if err = syscall.Bind(fd.pfd.Sysfd, lsa); err != nil {
sock_posix.go#L200: if err = listenFunc(fd.pfd.Sysfd, backlog); err != nil {
sock_posix.go#L206: lsa, _ = syscall.Getsockname(fd.pfd.Sysfd)
sock_posix.go#L222: if err := setDefaultMulticastSockopts(fd.pfd.Sysfd); err != nil {
sock_posix.go#L250: if err = syscall.Bind(fd.pfd.Sysfd, lsa); err != nil {
sock_posix.go#L256: lsa, _ = syscall.Getsockname(fd.pfd.Sysfd)
sockopt_posix.go#L105: err := fd.pfd.SetsockoptInt(syscall.SOL_SOCKET, syscall.SO_RCVBUF, bytes)
sockopt_posix.go#L111: err := fd.pfd.SetsockoptInt(syscall.SOL_SOCKET, syscall.SO_SNDBUF, bytes)
sockopt_posix.go#L117: err := fd.pfd.SetsockoptInt(syscall.SOL_SOCKET, syscall.SO_KEEPALIVE, boolint(keepalive))
sockopt_posix.go#L131: err := fd.pfd.SetsockoptLinger(syscall.SOL_SOCKET, syscall.SO_LINGER, &l)
sockoptip_linux.go#L18: err := fd.pfd.SetsockoptIPMreqn(syscall.IPPROTO_IP, syscall.IP_MULTICAST_IF, mreq)
sockoptip_linux.go#L24: err := fd.pfd.SetsockoptInt(syscall.IPPROTO_IP, syscall.IP_MULTICAST_LOOP, boolint(v))
sockoptip_posix.go#L19: err := fd.pfd.SetsockoptIPMreq(syscall.IPPROTO_IP, syscall.IP_ADD_MEMBERSHIP, mreq)
sockoptip_posix.go#L29: err := fd.pfd.SetsockoptInt(syscall.IPPROTO_IPV6, syscall.IPV6_MULTICAST_IF, v)
sockoptip_posix.go#L35: err := fd.pfd.SetsockoptInt(syscall.IPPROTO_IPV6, syscall.IPV6_MULTICAST_LOOP, boolint(v))
sockoptip_posix.go#L46: err := fd.pfd.SetsockoptIPv6Mreq(syscall.IPPROTO_IPV6, syscall.IPV6_JOIN_GROUP, mreq)
splice_linux.go#L39: written, handled, sc, err := poll.Splice(&c.pfd, &s.pfd, remain)
tcpsock.go#L345: if err := l.fd.pfd.SetDeadline(t); err != nil {
tcpsockopt_posix.go#L15: err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, syscall.TCP_NODELAY, boolint(noDelay))
tcpsockopt_unix.go#L18: if err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, syscall.TCP_KEEPINTVL, secs); err != nil {
tcpsockopt_unix.go#L21: err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, secs)
unixsock.go#L290: if err := l.fd.pfd.SetDeadline(t); err != nil {
writev_unix.go#L26: n, err = fd.pfd.Writev((*[][]byte)(v))
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |